package com.ruoyi.movie.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 发行日期对象 pub_date
 *
 * @author ruoyi
 * @date 2025-10-28
 */
public class PubDate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 发行日期ID */
    private Integer pubDateId;

    /** 发行日期 */
    @Excel(name = "发行日期")
    private String pubDate;

    /** 国家ID */
    @Excel(name = "国家ID")
    private Integer countryId;

    /** 首映标识 */
    @Excel(name = "首映标识")
    private String premiere;

    /** 电影ID */
    @Excel(name = "电影ID")
    private Integer movieId;

    public Integer getPubDateId()
    {
        return pubDateId;
    }

    public void setPubDateId(Integer pubDateId)
    {
        this.pubDateId = pubDateId;
    }

    public String getPubDate()
    {
        return pubDate;
    }

    public void setPubDate(String pubDate)
    {
        this.pubDate = pubDate;
    }

    public Integer getCountryId()
    {
        return countryId;
    }

    public void setCountryId(Integer countryId)
    {
        this.countryId = countryId;
    }

    public String getPremiere()
    {
        return premiere;
    }

    public void setPremiere(String premiere)
    {
        this.premiere = premiere;
    }

    public Integer getMovieId()
    {
        return movieId;
    }

    public void setMovieId(Integer movieId)
    {
        this.movieId = movieId;
    }

    @Override
    public String toString()
    {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("pubDateId", getPubDateId())
            .append("pubDate", getPubDate())
            .append("countryId", getCountryId())
            .append("premiere", getPremiere())
            .append("movieId", getMovieId())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
